Hi, I’m trying to figure out how overflow parameter works. Currently I see no effect when using overflow=true/false.
Can someone please to share an example of a proper usage?
Here is an example of a response I receive when updating a schedule.
You can see that start/end dates are similar for both overflow=true and overflow=false.
I tried to use an example from this page, but it didn’t help:
— https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1schedules~1{id}/put
“final_schedule”: {
“name”: “Final Schedule”,
“rendered_schedule_entries”: [
{
“start”: “2022-03-02T10:00:00Z”,
“end”: “2022-03-02T17:00:00Z”,
“user”: {
“id”: “”,
“type”: “user_reference”,
“summary”: “5fqPre”,
“self”: “https://api.pagerduty.com/users/”,
“html_url”: “https://oktatest.pagerduty.com/users/”
},
“id”: null
}
“rendered_schedule_entries”: [
{
“start”: “2022-03-02T10:00:00Z”,
“end”: “2022-03-02T17:00:00Z”,
“user”: {
“id”: “”,
“type”: “user_reference”,
“summary”: “5fqPre”,
“self”: “https://api.pagerduty.com/users/”,
“html_url”: “https://oktatest.pagerduty.com/users/”
},
“id”: null
}
The schedule layer details.
“schedule_layers”: [
{
“name”: “Schedule Layer 2”,
“rendered_schedule_entries”: [],
“rendered_coverage_percentage”: null,
“id”: “”,
“start”: “2022-03-02T10:00:00Z”,
“end”: “2023-04-02T14:00:00Z”,
“rotation_virtual_start”: “2022-03-02T10:00:00Z”,
“rotation_turn_length_seconds”: 43200,
“users”: [
{
“user”: {
“id”: “”,
“type”: “user_reference”,
“summary”: “5fqPre”,
“self”: “https://api.pagerduty.com/users/”,
“html_url”: “https://oktatest.pagerduty.com/users/”
}
}
],
“restrictions”: [
{
“type”: “daily_restriction”,
“start_time_of_day”: “10:00:00”,
“duration_seconds”: 25200
}
]
}
],